package com.wzq.tcpTio.config;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tio.core.intf.Packet;

@EqualsAndHashCode(callSuper = true)
@Data
public class HelloPacket extends Packet {
    private static final long serialVersionUID = -172060606924066412L;
    //消息头的长度
    public static final int HEADER_LENGHT = 4;
    //编码
    public static final String CHARSET = "utf-8";
    //消息
    private byte[] body;
}
